package org.bigjava.novelplatform.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author ykh
 * @create 2022-03-20 13:07
 */
@Getter
@AllArgsConstructor
public enum SaleState  implements CodeMesEnum{
    OFF_SALE(0,"未上架,下架"),ON_SALE(1,"上架");

    @EnumValue
    private final Integer code;
    private final String message;

}
